const gulp = require('gulp');
const gulp_concat = require('gulp-concat');
const gulp_minCss = require('gulp-minify-css');

gulp.task("minCss",function(){
        gulp.src("css/**/*").pipe(gulp_minCss()).pipe(gulp.dest("D:/phpStudy/WWW/2113/yufu/css"));
});
    
const gulp_imgMin = require('gulp-imagemin');

// gulp.task("imgMin", function() {
//         gulp.src("img/**/*").pipe(gulp_imgMin()).pipe(gulp.dest("D:/phpStudy/WWW/2113/yufu/img"));
// });
    
gulp.task("imgMin", function() {
        gulp.src("images/**/*").pipe(gulp_imgMin()).pipe(gulp.dest("D:/phpStudy/WWW/2113/yufu/images"));
    });
    

const gulp_uglify = require('gulp-uglify');
gulp.task("uglify",function(){
        gulp.src("js/**/*").pipe(gulp_uglify())
            .pipe(gulp.dest("D:/phpStudy/WWW/2113/yufu/js"));
    });
    